package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfActivityImgDao;
import com.wfcm.entity.WfActivityImgEntity;
import com.wfcm.service.WfActivityImgService;



@Service("wfActivityImgService")
public class WfActivityImgServiceImpl implements WfActivityImgService {
	@Autowired
	private WfActivityImgDao wfActivityImgDao;
	
	@Override
	public WfActivityImgEntity queryObject(Integer id){
		return wfActivityImgDao.queryObject(id);
	}
	
	@Override
	public List<WfActivityImgEntity> queryList(Map<String, Object> map){
		return wfActivityImgDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfActivityImgDao.queryTotal(map);
	}
	
	@Override
	public void save(WfActivityImgEntity wfActivityImg){
		wfActivityImgDao.save(wfActivityImg);
	}
	
	@Override
	public void update(WfActivityImgEntity wfActivityImg){
		wfActivityImgDao.update(wfActivityImg);
	}
	
	@Override
	public void delete(Integer id){
		wfActivityImgDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfActivityImgDao.deleteBatch(ids);
	}
	
}
